package com.ruoyi.hotel.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 员工提成对象 hl_admin_commission
 * 
 * @author ruoyi
 * @date 2022-12-10
 */
public class HlAdminCommission extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 提成id */
    private Integer id;

    /** 用户id */
    private Integer userId;

    /** 会员id */
    private Integer memberId;

    /** 提成计价 */
    @Excel(name = "提成计价")
    private Double discount;



    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setUserId(Integer userId)
    {
        this.userId = userId;
    }

    public Integer getUserId()
    {
        return userId;
    }
    public void setMemberId(Integer memberId)
    {
        this.memberId = memberId;
    }

    public Integer getMemberId()
    {
        return memberId;
    }
    public void setDiscount(Double discount)
    {
        this.discount = discount;
    }

    public Double getDiscount()
    {
        return discount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("memberId", getMemberId())
            .append("discount", getDiscount())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
